<body leftmargin="0" rightmargin="0" topmargin="0">
<div style=" background: url(images/title-bg.jpg); height:64px; text-align:right;">
<img src="images/head.jpg">
</div>

<? if ($session_role!="guard") { ?>
<!--left menu start-->
<div style="float: left; width:180px; height:100%; margin-right:20px;">
<?
include "menu.inc.php";
?>
</div>
<!--left menu end-->
<? } ?>

<!--Main start here-->
<br>
<table border="0" cellpadding="2" cellspacing="0" width="750" class="tableMainBodyFont" align="<? echo ($session_role=="guard")?"center":"";?>">
  <tbody>
    
    <tr>
      <td width="3%" align="center" bgcolor="#aaaaaa" style=" border-top-style:solid;border-top-width:1px;"><strong>Pengesahan Kad Matrik -- Masuk </strong></td>
    </tr>
  </tbody>
</table>
<form action="?act=in_confirm" method="post" onSubmit="return GoSubmit(this)">
<?
include "_form.php";
?>
</form>

<? if ($_REQUEST['m']==404) { ?>
<center><b style=" color:red">Pelajar tidak wujud.</b></center>
<? } ?>
<!--Main end here-->
</body>
<script>
document.forms[0].nomatrik.focus();

function GoSubmit(df) {
	
	//if (!checkInput(icnumRegExp,document.getElementById('ic_new'),'No Kad Pengenalan Baru')) return false;
	//if (!checkInput(anythingRegExp,$('name'),'Nama Staf')) return false;
	//if (!checkSelection(strRegExp,document.getElementById('gender'),'Jantina')) return false;
	return true;
}

//document.forms[0].onsubmit = GoSubmit;

</script>


